﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HostAssistantCore
{
    public class SiteInfo
    {
        /// <summary>
        /// 站点ID
        /// </summary>
        private int siteID;
        public int SiteID
        {
            get { return siteID; }
            set { siteID = value; }
        }
        /// <summary>
        /// 站点名
        /// </summary>
        private string siteName;
        public string SiteName
        {
            get { return siteName; }
            set { siteName = value; }
        }
        /// <summary>
        /// 站点端口
        /// </summary>
        private int httpPort;
        public int HttpPort
        {
            get { return httpPort; }
            set { httpPort = value; }
        }
        /// <summary>
        /// 站点SSL端口
        /// </summary>
        private int httpPorts;
        public int HttpPorts
        {
            get { return httpPorts; }
            set { httpPorts = value; }
        }
        /// <summary>
        /// SSL证书
        /// </summary>
        private string sslHash;
        public string SslHash
        {
            get { return sslHash; }
            set { sslHash = value; }
        }
        /// <summary>
        /// 物理路径
        /// </summary>
        private string physicalPath;
        public string PhysicalPath
        {
            get { return physicalPath; }
            set { physicalPath = value; }
        }
        /// <summary>
        /// 日志路径
        /// </summary>
        private string logPath;
        public string LogPath
        {
            get { return logPath; }
            set { logPath = value; }
        }
        /// <summary>
        /// 绑定域名端口
        /// </summary>
        private List<string> bindings;
        public List<string> Bindings
        {
            get { return bindings; }
            set { bindings = value; }
        }
        /// <summary>
        /// 默认首页
        /// </summary>
        private List<string> defaultDocuments;
        public List<string> DefaultDocuments
        {
            get { return defaultDocuments; }
            set { defaultDocuments = value; }
        }
        /// <summary>
        /// asp.net版本
        /// </summary>
        private string netVersion;
        public string NetVersion
        {
            get { return netVersion; }
            set { netVersion = value; }
        }
        /// <summary>
        /// 应用池绑定用户名
        /// </summary>
        private string username;
        public string Username
        {
            get { return username; }
            set { username = value; }
        }
        /// <summary>
        /// 应用池绑定用户密码
        /// </summary>
        private string password;
        public string Password
        {
            get { return password; }
            set { password = value; }
        }
        /// <summary>
        /// 最大带宽
        /// </summary>
        private string maxBandwidth;
        public string MaxBandwidth
        {
            get { return maxBandwidth; }
            set { maxBandwidth = value; }
        }
        /// <summary>
        /// 最大连接数
        /// </summary>
        private string maxConnections;
        public string MaxConnections
        {
            get { return maxConnections; }
            set { maxConnections = value; }
        }
        /// <summary>
        /// CPU限制
        /// </summary>
        private string cpulimit;
        public string Cpulimit
        {
            get { return cpulimit; }
            set { cpulimit = value; }
        }
        /// <summary>
        /// 内存限制
        /// </summary>
        private string memeroy;
        public string Memeroy
        {
            get { return memeroy; }
            set { memeroy = value; }
        }
        /// <summary>
        /// 空间容量
        /// </summary>
        private int siteSize;
        public int SiteSize
        {
            get { return siteSize; }
            set { siteSize = value; }
        }
        /// <summary>
        /// FTP账号
        /// </summary>
        private string ftpuser;
        public string Ftpuser
        {
            get { return ftpuser; }
            set { ftpuser = value; }
        }
        /// <summary>
        /// FTP密码
        /// </summary>
        private string ftpass;
        public string Ftpass
        {
            get { return ftpass; }
            set { ftpass = value; }
        }
        /// <summary>
        /// 站点状态
        /// </summary>
        private string sstate;
        public string Sstate
        {
            get { return sstate; }
            set { sstate = value; }
        }
        /// <summary>
        /// 站点类型
        /// </summary>
        private string sstype;
        public string Sstype
        {
            get { return sstype; }
            set { sstype = value; }
        }
        /// <summary>
        /// PHP引擎
        /// </summary>
        private string phppath;
        public string Phppath
        {
            get { return phppath; }
            set { phppath = value; }
        }
    }
}
